package dmt16.TelemetrySuit.UI
{
	import dmt16.TelemetrySuit.UI.Assets.ConnectBtn_ico;
	
	import flash.display.Sprite;
	
	public final class ConnectBtn extends Sprite
	{
		public function ConnectBtn()
		{
			cacheAsBitmap=true;
			_btn=new ConnectBtn_ico();
			_btn.cacheAsBitmap=true;
			_width=_btn.width;
			_height=_btn.height;
			addChild(_btn);
		}
		
		private var _btn:ConnectBtn_ico;
		
		private var _width:Number;
		public override function get width():Number{
			return _width;
		}
		public override function set width(value:Number):void{
			_width=value;
			_btn.width=value;
		}
		
		private var _height:Number;
		public override function get height():Number{
			return _height;
		}
		public override function set height(value:Number):void{
			_height=value;
			_btn.height=value;
		}
	}
}